{template "../Public/header"}
<style type="text/css">
/* -------------product detail page---------------*/

/* ------product detail--------*/
#detail {padding:30px 0 0 0;margin-bottom:30px}
#detail .picborder {float:left;margin:0 15px 0 0}
.detail_right {position:relative;margin:0 0 15px 166px;height:164px;width:430px;}
.detail_right p{margin:6px 0;line-height:22px;width:380px;}
.detail_right .goshop {position:absolute; bottom:3px;left:18px;}
/* ------relative product--------*/
#relative {margin-bottom:30px}
.block_title {background:#eaf7fd;border-bottom:1px solid #cbe3f9;height:28px;line-height:28px;color:#2872bc;padding:0 7px;font-size:14px}
#relative img {border:1px solid #d2e1e9}
#relative .product {height:170px;}
#relative .product li {float:left;width:393px;height:auto;text-align:center;line-height:18px;padding:5px 0 0 0}
#relative .product li .text {font-size:12px;padding:15px 0;margin:0 auto;width:267px;}
#relative .product li span {background:none;float:none;margin:0;width:auto;}
#relative .product li .prize{color:#ff0000;}
</style>
{template "../Public/nav"}
<div class="w990 clear">
<div style="padding-top: 0;" id="main" class="mt10">
<div style="width:990px;" class="main_l" id="promotions">
<div class="pros_l">
<div class="title">商城促销活动</div>
<ul>
<li {if $cid==0}class="sel"{/if}><span class="cate_all"></span><b><a href="{echo reUrl('Promotion/index?cid=0&p=1');}">全部</a></b></li>
<!--{loop $cates $item}-->
<!--{if $item['level']==0}-->
<li><span class="cate_jiadian"></span><a href="{echo reUrl('Promotion/index?cid='.$item['id'].'&p=1');}">{$item.name}</a></li>
<!--{/if}-->
<!--{/loop}-->
</ul>
</div>

<div class="pros_r">
	   <div id="detail">
    <a target="_blank" class="picborder" href="{echo reUrl('Promotion/out?id='.$promotion[id]);}" rel="nofollow">
     <img width="318" height="158" border="0" align="right" src="{echo FixedUploadedFileUrl($promotion[logo]);}" style="max-width:320px; max-height:160px;vertical-align:middle;">     </a> 
    <div class="detail_right">    
  <h3 style="margin:5px 30px 3px 0;"><a target="_blank" href="{echo reUrl('Promotion/out?id='.$promotion[id]);}" rel="nofollow">{$promotion.title}</a></h3> 
      <p>{$promotion.description}</p>
	  
    <a target="_blank" href="{echo reUrl('Promotion/out?id='.$promotion[id]);}" class="goshop" rel="nofollow">
     <img style="width:138px;height:44px;border:0;" src="__PUBLIC__/Images/Home/btn_goshop1.jpg">          
      </a>
	  
	  
    </div>
    <p><strong>活动详情：</strong></p>
    <p>{$promotion.detail}</p>
<p>&nbsp;</p><p></p>
        <span class="time-range">截止日期：{$promotion.expiry}</span>  
						 <span class="time-range">所属商家：  <a target="_blank" href="{echo reUrl('Mall/view?id='.$promotion[m_id]);}">{$promotion.m_name}</a>
            </span>      
 
        <div id="operate"> 
                <!-- Baidu Button BEGIN -->
    <div id="bdshare" class="bdshare_t bds_tools_32 get-codes-bdshare">
		<a class="bds_qzone" title="分享到QQ空间"></a>
        <a class="bds_tsina" title="分享到新浪微博"></a>
        <a class="bds_renren" title="分享到人人网"></a>
        <a class="bds_kaixin001" title="分享到开心网"></a>
        <a class="bds_tqf" title="分享到腾讯朋友"></a>
        <a class="bds_douban" title="分享到豆瓣网"></a>
        <a class="bds_taobao" title="分享到淘宝"></a>
        <a class="bds_ty" title="分享到天涯社区"></a>
        <a class="bds_baidu" title="分享到百度搜藏"></a>
        <span class="bds_more">更多</span>
		<a class="shareCount"></a>                
    </div>
<!-- Baidu Button END -->
 <div style="clear:both"></div>
   </div>
</div>

</div>

<div class="clear"></div>
</div>
</div>
</div>
<script type="text/javascript" id="bdshare_js" data="type=tools" ></script>
<script type="text/javascript" id="bdshell_js"></script>
<script type="text/javascript">
	document.getElementById("bdshell_js").src = "http://bdimg.share.baidu.com/static/js/shell_v2.js?cdnversion=" + new Date().getHours();
</script>
{template "../Public/footer"}